home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Disc to the Future 2
/
Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin
/
MAC
/
SMALLTAL
/
DRIVERS
/
CNTRLPAR.CLS
next >
Wrap
Text File
|
1988-12-16
|
460b
|
29 lines
ParamBlk subclass: #CntrlParamBlk
instanceVariableNames: ''
classVariableNames: ''
poolDictionaries: '' !
!CntrlParamBlk class methods !
sizeInBytes
"Answer the size of a Macintosh CntrlParamBlk record: 150 bytes."
^ 150! !
!CntrlParamBlk methods !
csCode: anInteger
"Set the csCode field."
self wordAtOffset: 26 put: anInteger!
ioCRefNum: anInteger
"Set the ioCRefNum field."
self wordAtOffset: 24 put: anInteger! !